﻿<%@page import="cn.jdy.common.constant.GlobalConstant"%>
<%@ page language="java" contentType="text/html; charset=utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="jdy" uri="http://www.qwe.com.cn/tags" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>康养旅居宝</title>
  <%
	String path = request.getContextPath(); 
	request.setAttribute("path",path);
	request.setAttribute("VERSION", GlobalConstant.VERSION);// 版本号[试用]，每次发布时更新最后一位数;用于保存静态资源文件版本， 更新浏览器缓存
%>
<script type="text/javascript">
var _path = '<%=path %>';
var _user = '<%=session.getAttribute("user") %>';
</script>
      <link rel="stylesheet" href="${path}/css/reset.css">
    <link rel="stylesheet" href="${path}/css/public.css">
    <link rel="stylesheet" href="${path}/css/apart.css">
    <link rel="stylesheet" href="${path}/css/swiper.min.css">
</head>
<body>
    <style>
    .progress2{z-index: 2000}
    .mask{position: fixed;top: 0;right: 0;bottom: 0;left: 0; z-index: 1000; background-color: #2F2F2F} 
    </style>
    <img id="progressImgage" class="progress2" style="display:none" alt="" src="${path}/images/load2.gif" width="100" height="100" />
    <div id="maskOfProgressImage" class="mask" style="display:none"></div>	
    <div class="main">
        <ul class="swiperTab">
            <li> <span>养老基地</span> </li>
            <li> <span>热门预定</span> </li>
        </ul>
        <div class="swiper-container"   >
            <div class="swiper-wrapper" >
                <div class="swiper-slide"    id="prtidsa"    >
                    <ul class="apartList"  id="apartList0">
                    <c:forEach  items="${dataList}" var="z"   varStatus="s">
		                            <li>
		                            <img src="${z.imgUrl}" alt="">
		                            <div class="dateil">
		                                <p>${z.title}</p>
		                                <p>${z.province}</p>
		                                <p>  ${z.houses}居/${z.square}平米/宜住${z.yzrs}人</p>
		                                <p></p>
		                                <p><s>原价：  
		                                <fmt:formatNumber type="number" value="${z.price}" maxFractionDigits="0"/>元</s>
		                                 会员价：
		                                 <span> 
		                                 <fmt:formatNumber type="number" value="${z.reduceprice}" maxFractionDigits="0"/>元</span>
		                                 </p>
		                            </div>
		                        </li>
                    		</c:forEach>
                
                      
                    </ul>
                    <div id="productlistload"></div>
                    
                      </div>
                <div class="swiper-slide">
                <ul class="apartList"  id="apartList1">
                    <c:forEach  items="${dataList1}" var="z"   varStatus="s">
		                            <li>
		                            <img src="${z.imgUrl}" alt="">
		                            <div class="dateil">
		                                <p>${z.title}</p>
		                                <p>${z.province}</p>
		                                <p>  ${z.houses}居/${z.square}平米/宜住${z.yzrs}人</p>
		                                <p></p>
		                                <p><s>原价：  
		                                <fmt:formatNumber type="number" value="${z.price}" maxFractionDigits="0"/>元</s>
		                                 会员价：
		                                 <span> 
		                                 <fmt:formatNumber type="number" value="${z.reduceprice}" maxFractionDigits="0"/>元</span>
		                                 </p>
		                            </div>
		                        </li>
                    		</c:forEach>
                
                      
                    </ul>
                
                </div>
            </div>
        </div>
    </div>
 <jsp:include page="../common/footer.jsp"/>
  <script src="${path}/js/iscroll-probe.js"></script>
 <script src="${path}/js/productxlist.js"></script>

</body>

<script>
     $(function () {
        $('.swiperTab > li').eq(0).addClass('active');
        tabs('.swiperTab > li','.swiper-container','active');
    	
    });
</script>
</html>